﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">
  <description>Deletes a file first then creates it</description>

  <object id="MacroToProcess" type="Macro" >
    <constructor-arg name="templateId" value="1C420345-0A41-4f65-87C6-1B62E84DF535"/>
    <constructor-arg name="actions">
      <list element-type="IAction">

        <!-- Simple Action Test -->
        <object id="SimpleAction" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">
          <property name="Condition" expression="'${UnitTest}'=='9999'"/>
        </object>

        <object id="SimpleAction2" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">
          <!-- Some Condition for the macro -->
          <property name="DoCondition" expression="'${UnitTest}'=='9999'"/>
          <property name="UndoCondition" expression="'${UnitTest}'=='99299'"/>
          <property name="Condition" expression="'${UnitTest}'=='99299'"/>

        </object>

        <!-- Simple Action Test -->
        <object id="SimpleAction3" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">
          
        </object>

        <!-- Simple Action Test -->
        <object id="SimpleAction4" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">
          <property name="Condition" expression="'${UnitTest}'=='99299'"/>
        </object>

        <!-- Simple Action Test -->
        <object id="SimpleAction5" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionThrowExceptionOnDo, Collaboris.Saf.Tests">
          <property name="Condition" expression="1==1"/>
          <property name="StopOnDoException" value="false"/>
          <property name="StopOnUndoException" value="false"/>
        </object>

        <!-- Simple Action Test -->
        <object id="SimpleAction6" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">

        </object>



      </list>
    </constructor-arg>
    
    <!-- Some Condition for the macro -->
    <property name="DoCondition" expression="1==1"/>

  </object>
</objects>

